class animals22{
    private int age=100;
    private String name="mao";
    public void info(){
        System.out.println(name + "今年"+ age + "岁了。");
    }
}


public class java22 {
    public static void main(String[] args)
    {
        animals animals = new animals();
        animals.info();
    }
}
